﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="WebArchivosTelefonica.Login" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" title="CSS" href="styles/Default.css" media="screen" />
    <title>Gestión Proyectos TESAmerica</title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <center>
            <div id="masthead">
                <h1>
                </h1>
                <h3>
                    <asp:Label ID="_labelDescripcion" runat="server"
                        Style="font-family: Book Antiqua" 
                        meta:resourcekey="_labelDescripcionResource1"></asp:Label>
                </h3>
            </div>
        </center>
    </div>
    <div lang="es" style="text-align: center; vertical-align: middle">
        <center>
            <asp:Login ID="LogInTes" runat="server" BackColor="#E3EAEB" BorderColor="#E6E2D8"
                BorderPadding="4" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana"
                Font-Size="0.8em" ForeColor="#333333" FailureText="Usuario o contraseña inválidos. Porfavor intente de nuevo."
                DestinationPageUrl="~/Redirect.aspx">
                <TextBoxStyle Font-Size="0.8em" />
                <LoginButtonStyle BackColor="#FFFBFF" BorderColor="#CCCCCC" BorderStyle="Solid" BorderWidth="1px"
                    Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284775" />
                <LayoutTemplate>
                    <table border="0" cellpadding="4" cellspacing="0" style="border-collapse: collapse;">
                        <tr>
                            <td>
                                <table border="0" cellpadding="0">
                                    <tr>
                                        <td align="center" colspan="2" style="color: White; background-color: #6699FF; font-size: 0.9em;
                                            font-weight: bold;">
                                            <asp:Label ID="LabelTes" runat="server" Text="TES " Font-Bold="True" ForeColor="#000099"
                                                Font-Size="X-Large" Font-Names="Arial"></asp:Label>
                                            <asp:Label ID="LabelTes2" runat="server" Text=" America" ForeColor="Black" 
                                                Font-Size="X-Large" Font-Names="Arial"></asp:Label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Text="Usuario: "
                                                Font-Size="Small" Font-Names="Verdana"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="UserName" runat="server" Font-Size="0.8em" 
                                                Font-Names="Verdana"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                                                ErrorMessage="Digite nombre de usuario." ToolTip="Digite nombre de usuario."
                                                ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right">
                                            <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Text="Contraseña: "
                                                Font-Size="Small" Font-Names="Verdana"></asp:Label>
                                        </td>
                                        <td>
                                            <asp:TextBox ID="Password" runat="server" Font-Size="0.8em" TextMode="Password" 
                                                Font-Names="Verdana"></asp:TextBox>
                                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                                                ErrorMessage="Digite su contraseña." ToolTip="Digite su contraseña." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2" style="color: Red;">
                                            <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="right" colspan="2">
                                            <asp:Button ID="LoginButton" runat="server" BackColor="#FFFBFF" BorderColor="#CCCCCC"
                                                BorderStyle="Solid" BorderWidth="1px" CommandName="Login" Font-Names="Verdana"
                                                Font-Size="0.8em" ForeColor="#284775" Text="Ingresar" ValidationGroup="Login1" />
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2">
                                            <asp:HyperLink ID="HyperLinkOlvidoContraseña" runat="server" NavigateUrl="OlvidoContraseña.aspx"
                                                Text="Olvido su contraseña?"></asp:HyperLink>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center" colspan="2">
                                            <asp:Label ID="Label1" runat="server" 
                                                Text="Optimizado para:"></asp:label>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td align="center">
                                            <asp:ImageButton ID="ImageButtonIE7" runat="server" Height="18px" ImageUrl="~/Images/IE7.gif"
                                                OnClientClick="window.document.forms[0].target='_blank';"
                                                DescriptionUrl="http://www.microsoft.com/windows/products/winfamily/ie/" PostBackUrl="http://www.microsoft.com/windows/products/winfamily/ie/" />
                                        </td>
                                        <td align="center">
                                            <asp:ImageButton ID="ImageButtonMF3" runat="server" Height="18px" ImageUrl="~/Images/firefox3.png"
                                                OnClientClick="window.document.forms[0].target='_blank';"
                                                DescriptionUrl="http://www.mozilla.com/" PostBackUrl="http://www.mozilla.com/" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </LayoutTemplate>
                <InstructionTextStyle Font-Italic="True" ForeColor="Black" />
                <TitleTextStyle BackColor="#5D7B9D" Font-Bold="True" Font-Size="0.9em" ForeColor="White" />
            </asp:Login>
        </center>
    </div>
   
    </form>
</body>
</html>
